function refresh(){
    parent.refresh();
}

window.name = 'upload';
function updatestatue(){
    $.ajax({
        type:'post',
        url:'/commodity/update',
        data:{"id":$("#orderid").val()},
        dataType:'json',
        success:function (){
            console.log("成功");
        },
        error:function (){
            console.log("失败");
        }
    })
}

function information(){
    layui.use(['form'], function () {
        var form = layui.form;

        layer.open({
            type: 2,
            title: "修改信息",
            content: 'address.html',
            area: ['50%', '60%'],
        })
    });
}